package com.itheima.tlias.Service;

import com.itheima.tlias.pojo.Emp;
import com.itheima.tlias.pojo.PageBean;

import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;

public interface EmpService {


    PageBean page(Integer page, Integer pageSize, String name, Short gender, LocalDate begin,LocalDate end);

    void delete(List<Integer> ids);

    void insert(Emp emp);

    Emp getById(Integer id);

    void update(Emp emp);

    Emp Login(Emp emp);

    Emp getByUsername(Emp emp);
}
